package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 获取产品图片信息
 * Created by wangzhen on 16/5/18.
 */

@XmlRootElement(name = "product-photo")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductPhoto implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * 标题
     */
    @XmlElement(name = "title")
    private String title;

    /**
     * 描述
     */
    @XmlElement(name = "caption")
    private String caption;

    /**
     * url
     */
    @XmlElement(name = "url")
    private String url;

    /**
     * 产品code
     */
    private String productCode;

    /**
     * 行程描述id
     */
    private String itinerariesId;

    /**
     * 酒店id
     */
    private String hotelId;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getItinerariesId() {
        return itinerariesId;
    }

    public void setItinerariesId(String itinerariesId) {
        this.itinerariesId = itinerariesId;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
